@import '~antd/lib/style/themes/default.less';
@import '~@/utils/utils.less';
@import '~codemirror/lib/codemirror.css'; 
@import '~codemirror/theme/material.css';

a.listItemMetaTitle {
  color: @heading-color;
}


article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary {
  display: block
}

audio,canvas,progress,video {
  display: inline-block
}

audio:not([controls]) {
  display: none;
  height: 0
}

progress {
  vertical-align: baseline
}

[hidden],template {
  display: none
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects
}

a:active,a:hover {
  outline-width: 0
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted
}

b,strong {
  font-weight: inherit;
  font-weight: bolder
}

dfn {
  font-style: italic
}

h1 {
  font-size: 2em;
  margin: .67em 0
}

mark {
  background-color: #ff0;
  color: #000
}

small {
  font-size: 80%
}

sub,sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline
}

sub {
  bottom: -.25em
}

sup {
  top: -.5em
}

img {
  border-style: none
}

svg:not(:root) {
  overflow: hidden
}

code,kbd,pre,samp {
  font-family: monospace,monospace;
  font-size: 1em
}

figure {
  margin: 1em 40px
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible
}

button,input,select,textarea {
  font: inherit;
  margin: 0
}

optgroup {
  font-weight: 700
}

button,input {
  overflow: visible
}

button,select {
  text-transform: none
}

[type=reset],[type=submit],button,html [type=button] {
  -webkit-appearance: button
}

[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner {
  border-style: none;
  padding: 0
}

[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring {
  outline: 1px dotted ButtonText
}

[type=checkbox],[type=radio] {
  box-sizing: border-box;
  padding: 0
}

[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button {
  height: auto
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px
}

[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration {
  -webkit-appearance: none
}

::-webkit-input-placeholder {
  color: inherit;
  opacity: .54
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit
}

.iconfont {
  font-family: iconfont!important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

.icon-xlcollection:before {
  content: "\E600"
}

.icon-xlchatbox:before {
  content: "\E601"
}

.articleContent {
  word-break: break-word;
  line-height: 1.75;
  font-weight: 400;
  font-size: 15px;
  max-width: 900px;
  background-color: #fff;
  margin: auto;
  :global {
    .ant-list-item:first-child {
      padding: 20px;
    }
  }
}

.articleContent h1 {
  margin: 1.3rem 0;
  line-height: 1.2
}

.articleContent p {
  line-height: 2.27rem
}

.articleContent hr {
  border-top: 1px solid #ddd;
  border-bottom: none;
  border-left: none;
  border-right: none;
  margin-top: 2.7rem;
  margin-bottom: 2.7rem
}

.articleContent embed,.articleContent iframe,.articleContent img:not(.equation),.articleContent video {
  max-width: 100%;
  margin: 0
}

.articleContent img.lazyload {
  visibility: hidden
}

.articleContent img.inited {
  background-color: #f8f9fa;
  background-position: 50%;
  background-repeat: no-repeat;
  visibility: visible
}

.articleContent img.loaded {
  background-image: none;
  background-color: transparent
}

.articleContent img.error {
  background-image: url()
}

.articleContent img.equation {
  margin: 0 .1em;
  max-width: 100%;
  vertical-align: text-bottom
}

.articleContent img:not(.equation) {
  cursor: zoom-in
}

.articleContent figure {
  margin: 2.7rem auto;
  text-align: center
}

.articleContent figure figcaption {
  text-align: center;
  font-size: 1rem;
  line-height: 2.7rem;
  color: #909090
}

.articleContent pre {
  /* line-height: 1.93rem; */
  /* overflow: auto; */
}

.articleContent code,.articleContent pre {
  /* font-family: Menlo,Monaco,Consolas,Courier New,monospace */
}

.articleContent code {
  font-size: 1rem;
  padding: .26rem .53em;
  word-break: break-word;
  color: #4e5980;
  background-color: #f8f8f8;
  border-radius: 2px;
  overflow-x: auto
}

.articleContent pre>code {
  font-size: 1rem;
  padding: .67rem 1.3rem;
  margin: 0;
  word-break: normal;
  display: block
}

.articleContent a {
  color: #259
}

.articleContent a:active,.articleContent a:hover {
  color: #275b8c
}

.articleContent table {
  display: inline-block!important;
  font-size: 1rem;
  width: auto;
  max-width: 100%;
  overflow: auto;
  border: 1px solid #f6f6f6
}

.articleContent thead {
  background: #f6f6f6;
  color: #000;
  text-align: left
}

.articleContent tr:nth-child(2n) {
  background-color: #fcfcfc
}

.articleContent td,.articleContent th {
  padding: 1rem .6rem;
  line-height: 2rem
}

.articleContent td {
  min-width: 10rem
}

.articleContent blockquote {
  margin: 1em 0;
  border-left: 4px solid #ddd;
  padding: 0 1.3rem
}

.articleContent blockquote>p {
  margin: .6rem 0
}

.articleContent ol,.articleContent ul {
  padding-left: 2.7rem
}

.articleContent ol li,.articleContent ul li {
  margin-bottom: .6rem
}

.articleContent ol ol,.articleContent ol ul,.articleContent ul ol,.articleContent ul ul {
  margin-top: .27rem
}

.articleContent pre>code {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  color: #333;
  background: #f8f8f8
}

.articleContent .hljs-comment,.articleContent .hljs-quote {
  color: #998
}

.articleContent .hljs-keyword,.articleContent .hljs-selector-tag,.articleContent .hljs-subst {
  color: #333;
  font-weight: 700
}

.articleContent .hljs-literal,.articleContent .hljs-number,.articleContent .hljs-tag .hljs-attr,.articleContent .hljs-template-variable,.articleContent .hljs-variable {
  color: teal
}

.articleContent .hljs-doctag,.articleContent .hljs-string {
  color: #d14
}

.articleContent .hljs-section,.articleContent .hljs-selector-id,.articleContent .hljs-title {
  color: #900;
  font-weight: 700
}

.articleContent .hljs-subst {
  font-weight: 400
}

.articleContent .hljs-class .hljs-title,.articleContent .hljs-type {
  color: #458;
  font-weight: 700
}

.articleContent .hljs-attribute,.articleContent .hljs-name,.articleContent .hljs-tag {
  color: navy;
  font-weight: 400
}

.articleContent .hljs-link,.articleContent .hljs-regexp {
  color: #009926
}

.articleContent .hljs-bullet,.articleContent .hljs-symbol {
  color: #990073
}

.articleContent .hljs-built_in,.articleContent .hljs-builtin-name {
  color: #0086b3
}

.articleContent .hljs-meta {
  color: #999;
  font-weight: 700
}

.articleContent .hljs-deletion {
  background: #fdd
}

.articleContent .hljs-addition {
  background: #dfd
}

.articleContent .hljs-emphasis {
  font-style: italic
}

.articleContent .hljs-strong {
  font-weight: 700
}

.articleContent p {
  line-height: inherit;
  margin-top: 22px;
  margin-bottom: 22px
}

.articleContent img {
  max-height: none
}

.articleContent a {
  color: #0269c8;
  border-bottom: 1px solid #d1e9ff
}

.articleContent code {
  background-color: #fff5f5;
  color: #ff502c;
  font-size: .87em;
  padding: .065em .4em
}

.articleContent figure {
  margin: 22px auto
}

.articleContent figure figcaption {
  margin-top: 2px;
  line-height: 1.6
}

.articleContent blockquote {
  color: #666;
  padding: 1px 23px;
  margin: 22px 0;
  border-left: 4px solid #cbcbcb;
  background-color: #f8f8f8
}

.articleContent blockquote:after {
  display: block;
  content: ""
}

.articleContent blockquote>p {
  margin: 10px 0
}

.articleContent blockquote.warning {
  position: relative;
  border-left-color: #f75151
}

.articleContent blockquote.warning:before {
  position: absolute;
  top: 14px;
  left: -12px;
  background: #f75151;
  border-radius: 50%;
  content: "!";
  width: 20px;
  height: 20px;
  color: #fff;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center
}

.articleContent ol,.articleContent ul {
  padding-left: 28px
}

.articleContent ol li,.articleContent ul li {
  margin-bottom: 0;
  list-style: inherit
}

.articleContent ol li.task-list-item,.articleContent ul li.task-list-item {
  list-style: none
}

.articleContent ol li.task-list-item ol,.articleContent ol li.task-list-item ul,.articleContent ul li.task-list-item ol,.articleContent ul li.task-list-item ul {
  margin-top: 0
}

.articleContent ol li {
  padding-left: 6px
}

.articleContent pre {
  position: relative;
  line-height: 1.75
}

.articleContent pre>code {
  padding: 15px 12px;
  font-size: 11px
}

.articleContent pre>code.hljs[lang] {
  padding: 18px 15px 12px;
}

.articleContent pre>code.hljs[lang]:before {
  content: attr(lang);
  position: absolute;
  right: 15px;
  top: 2px;
  color: hsla(0,0%,55%,.8)
}

.articleContent pre>code.hljs[lang][lang=bash]:before {
  content: ""
}

.articleContent pre>code.copyable .copy-code-btn {
  position: absolute;
  top: 6px;
  right: 15px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  color: hsla(0,0%,55%,.8);
  transition: color .1s
}

.articleContent pre>code.copyable .copy-code-btn:hover {
  color: #8c8c8c
}

.articleContent pre>code.copyable.hljs[lang]:before {
  right: 70px
}

.articleContent h1,.articleContent h2,.articleContent h3,.articleContent h4,.articleContent h5,.articleContent h6 {
  color: #333;
  line-height: 1.5;
  margin-top: 5px;
  margin-bottom: 10px;
  padding-bottom: 5px
}

.articleContent h1 {
  font-size: 30px;
  margin-bottom: 5px
}

.articleContent h2 {
  padding-bottom: 12px;
  font-size: 24px;
  border-bottom: 1px solid #ececec
}

.articleContent h3 {
  font-size: 18px;
  padding-bottom: 0
}

.articleContent h4 {
  font-size: 16px
}

.articleContent h5 {
  font-size: 15px
}

.articleContent h6 {
  margin-top: 5px
}

.articleContent h1.heading+h2.heading {
  margin-top: 20px
}

.articleContent h1.heading+h3.heading {
  margin-top: 15px
}

.articleContent .heading+.heading {
  margin-top: 0
}

.articleContent h1+:not(.heading) {
  margin-top: 25px
}

@media (max-width: 720px) {
  .articleContent h1 {
      font-size:24px
  }

  .articleContent h2 {
      font-size: 20px
  }

  .articleContent h3 {
      font-size: 18px
  }

  .articleContent pre>code .copy-code-btn {
      display: none
  }

  .articleContent pre>code.hljs[lang]:before {
      top: 2px;
      right: 15px
  }
}

@media (max-width: 720px) {
  .articleContent pre>code.copyable.hljs[lang]:before {
      right:1rem
  }
}

#nprogress {
  pointer-events: none
}

#nprogress .bar {
  background: #007fff;
  position: fixed;
  z-index: 1031;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px
}

#nprogress .peg {
  display: block;
  position: absolute;
  right: 0;
  width: 100px;
  height: 100%;
  box-shadow: 0 0 10px #007fff,0 0 5px #007fff;
  opacity: 1;
  transform: rotate(3deg) translateY(-4px)
}

.nprogress-custom-parent {
  overflow: hidden;
  position: relative
}

.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner {
  position: absolute
}